package com.sukumar.android.taxi;

import android.app.Activity;
import android.os.Bundle;

public class AutotaxiAboutActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		int item = (Integer) getIntent().getExtras().get("selected");
		switch (item) {
		case 0:
			setTitle(R.string.Usage);
			setContentView(R.layout.usage_layout);
			break;
		case 1:
			setTitle(R.string.Changelog);
			setContentView(R.layout.changelog_layout);
			break;
		case 2:
			setTitle(R.string.About);
			setContentView(R.layout.about_layout);
			break;
		}

	}

}
